﻿using System;
using ASPNETVN.PORTAL.Components.UI;

namespace ASPNETVN.PORTAL.Modules.GALLERY.Controls
{
    public partial class CollectionDetail : ModulePage
    {
        protected string GetFilePath(string filename)
        {
            string uploadPath = this.ParentControl.Settings["UploadPath"].ToString();
            return string.Format("~/" + uploadPath + "/{0}/{1}", this.ModuleID, filename);
        }

        protected string GetThumbnailFilePath(string filename)
        {
            string uploadPath = this.ParentControl.Settings["UploadPath"].ToString();
            return string.Format("~/" + uploadPath + "/{0}/Thumbnails/{1}", this.ModuleID, filename);
        }

        protected void Page_Load(object sender, EventArgs e)
        {
        }
    }
}